<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改案例执行')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-execTask-edit" th:object="${execTask}">
            <input id="taskId" name="taskId" th:field="*{taskId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">任务编号：</label>
				<div class="col-sm-8">
					<input id="taskNo" name="taskNo" th:field="*{taskNo}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">任务日期：</label>
				<div class="col-sm-8">
					<input id="taskDate" name="taskDate" th:field="*{taskDate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户id：</label>
				<div class="col-sm-8">
					<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">任务类型:1-单个案例;2-组合案例;3-案例集合：</label>
				<div class="col-sm-8">
					<input id="taskType" name="taskType" th:field="*{taskType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">执行类型:1-正常运行;2-边界测试;3-单步执行：</label>
				<div class="col-sm-8">
					<input id="execType" name="execType" th:field="*{execType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">案例编号：</label>
				<div class="col-sm-8">
					<input id="caseNo" name="caseNo" th:field="*{caseNo}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">总共有多少任务需要被执行：</label>
				<div class="col-sm-8">
					<input id="caseCount" name="caseCount" th:field="*{caseCount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">任务名：</label>
				<div class="col-sm-8">
					<input id="taskName" name="taskName" th:field="*{taskName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">任务描述：</label>
				<div class="col-sm-8">
					<input id="taskDesc" name="taskDesc" th:field="*{taskDesc}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">任务状态:0-未执行;1-运行中;2-运行完成;3-异常终止。：</label>
				<div class="col-sm-8">
					<input id="taskState" name="taskState" th:field="*{taskState}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">执行T日，-2-不执行；-1-全部执行；0-T日；1-T+1日。。。：</label>
				<div class="col-sm-8">
					<input id="execDay" name="execDay" th:field="*{execDay}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">结算文件生成标志0-不生成；1-待生成；2-已生成：</label>
				<div class="col-sm-8">
					<input id="ismnjs" name="ismnjs" th:field="*{ismnjs}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">执行用户：</label>
				<div class="col-sm-8">
					<input id="runUser" name="runUser" th:field="*{runUser}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">isstep：</label>
				<div class="col-sm-8">
					<input id="isstep" name="isstep" th:field="*{isstep}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">iscryq：</label>
				<div class="col-sm-8">
					<input id="iscryq" name="iscryq" th:field="*{iscryq}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/execTask";
		$("#form-execTask-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-execTask-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
